/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wx
 * Date: 2023-08-02
 * Time: 10:34
 */
public class Date {
    public int year;
public int month;
public int day;
public void setDay(Date this,int y, int m, int d) {
    year = y;
    month = m;
    day = d;
}

    public void setDay1(int y, int m, int d) {
       this.year  = year;
       this.month = month;
       this.day   = day;
    }


    public static void main1(String[] args) {
        Date date = new Date();
        date.setDay(1999,1,1);

       // Date date = new Date();
        date.setDay(1999,1,1);
        //方法只有一个，怎么确定给那个赋值？
        //
        //
        // ；
    }
}
